interface SCA830Logic
{
	command error_t PowerOn();
	command error_t PowerOff();
	
	command error_t Reset();
	
	command error_t GetStatus();
	
	command error_t GetInterrupt();
	
	command error_t GetControl();
	command error_t SetControl();
	
	command error_t GetX();
	
	command error_t GetTemp();
	
	async event void PowerOnDone(error_t success);
	async event void PowerOffDone(error_t success);
	
	async event void ResetDone(error_t success);
	
	async event void GetStatusDone(error_t success, uint8_t status);
	
	async event void GetInterruptDone(error_t success, uint8_t interrupt);
	
	async event void GetControlDone(error_t success, uint8_t control);
	async event void SetControlDone(error_t success);
	
	async event void GetXDone(error_t success, uint16_t xData);
	
	async event void GetTempDone(error_t success, uint16_t tempData);
	
}